﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="detailIngredient.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <table style="width: 100%">
        <tr>
            <td align ="right" colspan="2">
              <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
                    ForeColor="#006699" Text="Nutrient Management - UPDATE"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Font-Bold="True" Text="Ingredient ID"></asp:Label>
            </td>
            <td>
                <asp:Label ID="LabelID" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
              
                <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Name : "></asp:Label>
              
            </td>
            <td>
              
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
              
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Text="Category : "></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="cbbCategory" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
             
                <asp:Label ID="Label4" runat="server" Font-Bold="True" Text="Price : "></asp:Label>
             
            </td>
            <td>
             
                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
             
            </td>
        </tr>
        <tr>
            <td>
             
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="Dry : "></asp:Label>
             
            </td>
            <td>
             
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
             
            </td>
        </tr>
        <tr>
            <td>
             
                <asp:Label ID="Label12" runat="server" Font-Bold="True" Text="Animal : "></asp:Label>
             
            </td>
            <td>
             
                <asp:DropDownList ID="cbbAnimal" runat="server">
                </asp:DropDownList>
             
            </td>
        </tr>
        <tr>
            <td>
             
                <asp:Label ID="Label14" runat="server" Font-Bold="True" Text="Code : "></asp:Label>
             
            </td>
            <td>
             
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
             
            </td>
        </tr>
        <tr>
            <td>
             
                <asp:Label ID="Label16" runat="server" Font-Bold="True" Text="In stock : "></asp:Label>
             
            </td>
            <td>
             
                <asp:CheckBox ID="CheckBox1" runat="server" />
             
            </td>
        </tr>
        <tr>
            <td>
             
                
            </td>
            <td>
             
                &nbsp;</td>
        </tr>
        
    </table>
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" HorizontalAlign="Justify" 
                    style="margin-left: 0px" Width="537px" >
                    <Columns>
                        <asp:BoundField DataField="NutrientName" HeaderText="Nutrient Name" 
                            SortExpression="NutrientName">
                        <HeaderStyle BackColor="#339933" />
                        </asp:BoundField>
                        <asp:BoundField DataField="compositionValue" HeaderText="Composition Value" SortExpression="compositionValue" />
                    </Columns>
                </asp:GridView>
    <table>
        <tr>
            <td>
             
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Update" />
            </td>
            <td>
             
                
             
            </td>
        </tr>
    </table>
</asp:Content>

